Skip to content

bpo-35416: Fix potential resource warnings in distutils#10918

Merged
methane merged 2 commits intopython:masterfrom
BoboTiG:fix-resource-warning-unclosed-file-distutils
Apr 8, 2019
Merged

bpo-35416: Fix potential resource warnings in distutils#10918
methane merged 2 commits intopython:masterfrom
BoboTiG:fix-resource-warning-unclosed-file-distutils

Conversation

@BoboTiG
Copy link
Copy Markdown
Contributor

@BoboTiG BoboTiG commented Dec 5, 2018

Prevent file descriptor leaks in distutils.

https://bugs.python.org/issue35416

@BoboTiG BoboTiG force-pushed the fix-resource-warning-unclosed-file-distutils branch from 2af99ff to bbcfda4 Compare December 5, 2018 14:36
@merwok
Copy link
Copy Markdown
Member

merwok commented Dec 20, 2018

Thanks, this looks good!

There are a few instances of weird indentation (from before your patch), I would like to take the opportunity to clean them.

@BoboTiG
Copy link
Copy Markdown
Contributor Author

BoboTiG commented Dec 20, 2018

Of course, go ahead :)
Or do you want me to do the clean?

@merwok
Copy link
Copy Markdown
Member

merwok commented Dec 20, 2018

Easier if I do them! It could take me a couple weeks though.

Another PR with some of the fixes was just merged, so part of the codebase is already better.

@BoboTiG
Copy link
Copy Markdown
Contributor Author

BoboTiG commented Dec 20, 2018

Good :)

@methane methane merged commit 58721a9 into python:master Apr 8, 2019
@BoboTiG BoboTiG deleted the fix-resource-warning-unclosed-file-distutils branch April 8, 2019 13:19
Comment thread Lib/distutils/command/bdist_wininst.py
@methane methane mentioned this pull request Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants